package cn.dz.factory;

import cn.dz.dao.UserDao;
import cn.dz.dao.impl.UserDaoImpl;

/**
 * @ClassName MyBeanFactory2
 * @package: cn.dz.factory
 * @Description TODO
 * @Author dz
 * @Date 2025/2/10 19:36
 * @Version 1.0
 **/
public class MyBeanFactory2 {
    public UserDao userDao() {
        //Bean创建之前可以进行一些其他业务逻辑操作
        return new UserDaoImpl();
    }

}
